package com.domain;


public class Comment {

    private Integer userid;
    private Integer travelid;
    private Integer commentid;
    private String  ctext;

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getTravelid() {
        return travelid;
    }

    public void setTravelid(Integer travelid) {
        this.travelid = travelid;
    }

    public Integer getCommentid() {
        return commentid;
    }

    public void setCommentid(Integer commentid) {
        this.commentid = commentid;
    }

    public String getCtext() {
        return ctext;
    }

    public void setCtext(String ctext) {
        this.ctext = ctext;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "userid=" + userid +
                ", travelid=" + travelid +
                ", commentid=" + commentid +
                ", ctext='" + ctext + '\'' +
                '}';
    }
}
